1fc110e3555d5219524ddb701cf400eb9db41650,oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/delegate/SessionDelegate.java,SessionDelegate,move,#String#String#boolean#AccessManager#,260
Before Change
accessManager.checkPermissions(destPath, Permissions.getString(Permissions.NODE_TYPE_MANAGEMENT));
try {
moveRoot.move(srcPath, destPath);
if (!transientOp) {
moveRoot.commit();
}
After Change
accessManager.checkPermissions(destPath, Permissions.getString(Permissions.NODE_TYPE_MANAGEMENT));
try {
if (!moveRoot.move(srcPath, destPath)) {
throw new RepositoryException("Cannot move node at " + srcPath + " to " + destPath);
}
if (!transientOp) {